@font-face {
    font-family: osifont;
    src: url('../fonts/osifont.ttf') format('truetype');  
}

body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
	font-size: 15px;
	color: white;
    font-family: osifont, comic-sans;
    -moz-font-feature-settings: "liga", "dlig";
    -ms-font-feature-settings: "liga", "dlig";
    -o-font-feature-settings: "liga", "dlig";
    -webkit-font-feature-settings: "liga", "dlig";
    font-feature-settings: "liga", "dlig";
}

#inventoryHud {
    min-width: 100%;
    min-height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(19, 29, 39, 0.5); 
}

#inventoryElement {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 900px;
    height: 600px;
    background-color: rgba(105, 105, 105, 0.3); 
    border-radius: 5px;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 1;
}​

#inventoryElement::-webkit-scrollbar-track
{
    border-radius: 10px;
    background-color: rgba(105, 105, 105, 0.4); 
    border-radius: 5px;
}

#inventoryElement::-webkit-scrollbar
{
    width: 12px;
    background-color: rgba(105, 105, 105, 0.4); 
    border-radius: 5px;
}

#inventoryElement::-webkit-scrollbar-thumb
{
    background-color: rgba(83, 82, 82);
    border-radius: 5px;
}

.controls {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 900px;
    height: 680px;
}

.controls #search {
    float: left;
    width: 40%;
    height: 30px;
}

.controls #close {
    float: right;
    width: 15%;
}

button#close { 
    float: left;
}

button { 
    background: rgba(105, 105, 105, 0.8); 
    border: none;
    float: left;
    height: 30px;
    color: white;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px; 
}

button:hover { 
    background: rgb(70, 70, 70); 
}

input#search { 
    background: rgba(105, 105, 105, 0.8); 
    border: none;
    float: left;
    height: 30px;
    color: white;
    padding-left: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

input#search::-webkit-input-placeholder {
    color: #898f94;
 }
  
input#search:-moz-placeholder { /* Firefox 18- */
    color: #898f94;  
 }
  
input#search::-moz-placeholder {  /* Firefox 19+ */
    color: #898f94;  
 }
  
input#search:-ms-input-placeholder {  
    color: #898f94;  
 }

 *:focus {
    outline: none;
}

.item {
    position: relative;
    float: left;
    margin: 5px;
    width: 160px;
    height: 160px;
    border-color: rgba(105, 105, 105, 0.9); 
    border-radius: 5px;
    text-align: right;
    border-width: 3px;
    border-style: solid;
    background-position: center center; 
    background-repeat: no-repeat;
    background-color: rgba(105, 105, 105, 0.5); 
}

.item:hover, .item.active {
    border-color: rgba(105, 105, 105, 0.9); 
    background-color: rgba(105, 105, 105, 0.8); 
}

.item .count {
    margin: 4px;
    font-weight: bold;
    height: 80%;
}

.item .text {
    font-weight: bold;
    bottom: 1px;
    width: 100%;
    background-color: rgba(105, 105, 105, 0.9); 
    text-align: center;
}

img.emojione {
    margin: 0px !important;
    display: inline !important;
}
  
  
span.emoji {
    font-size: 15px;
    line-height: 2;
}